package com.xiaoge.biz.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xiaoge.biz.entity.OutStock;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaoge.biz.vo.GetOutStockVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaoge
 * @since 2021-03-21
 */
public interface OutStockService extends IService<OutStock> {

    IPage<OutStock> findOutStockList(Page<OutStock> page, QueryWrapper<OutStock> queryWrapper);

    void addOutStock(GetOutStockVo getOutStockVo);

    void publishOutStock(Long id, String outNum);

    void delete(Long id, String outNum);
}
